From 7d7ca889c1bbb45bc25d524cc30dc701eceb2f88 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 11 Dec 2003 17:08:50 +0000 Subject: [PATCH] Fix minor mem leaks. --- psitrex.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/psitrex.c b/psitrex.c index 88939a105..090570d10 100755 --- a/psitrex.c +++ b/psitrex.c @@ -503,6 +503,7 @@ psit_routehdr_w(FILE *psit_file, const route_head *rte) fprintf(psit_file, "Route: %s\n", rname); + xfree(rname); } } @@ -658,6 +659,7 @@ psit_trackhdr_w(FILE *psit_file, const route_head *trk) fprintf (psit_file, "Track: %s\n", tname); + xfree(tname); } } psit_track_state = 1; -- 2.30.2